package com.xinqi.modules.prepare.paper.dto.req;

import com.xinqi.modules.prepare.prepare.enums.PrepareQuestionTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@Schema(description = "备课区测评卷-随机组题-题型-数量")
public class QuestionTypeNumDTO {
    @Schema(description = "题型，1:判断题；2:单选题；3:多选题；4:不定项题；5: 填空题；6:简答题；", example = "1")
    @NotNull(message = "题型不能为空")
    private PrepareQuestionTypeEnum questionType;
    @Schema(description = "数量", example = "2")
    @NotNull(message = "题目数量不能为空")
    private Integer num;
}
